package com.dh.project.mapper;

import com.baomidou.mybatisplus.mapper.AutoMapper;
import com.dh.project.model.Admin;
import com.dh.project.model.PageModel;

import java.util.List;
import java.util.Map;

public interface AdminMapper extends AutoMapper<Admin>{
    int deleteByPrimaryKey(Integer admin_id);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Integer admin_id);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);

    List<Admin> selectAdminListByMap(Map map);

    PageModel selectAdminListByMapCount(Map map);
}